// .amap-cars {
//   position: fixed;
//   bottom: 94px;
//   left: 0;
//   right: 0;
//   z-index: 11;
// }

.cars-item {
  width: 350px;
  height: 185px;
  background-color: #fff;
  border-radius: 24px;
  margin: auto;
  padding: 20px;
  @include webkit(box-shadow, border-box);
  @include webkit(box-shadow, 0 0 18px 0 rgba(0, 0, 0, 0.2));
  header {
    display: flex;
    h4,
    p {
      flex: 1;
    }
  }
  .cars-logo {
    img {
      display: inline-block;
      height: 34px;
      margin-right: 10px;
      vertical-align: middle;
    }
    .name {
      font-size: 16px;
    }
  }
  .cars-attr {
    text-align: right;
    opacity: 0.5;
  }
  .cars-content {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 5px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(197, 197, 197);
    // background-color: aqua;
    // @extend %clearfix;
    img {
      float: right;
      height: 90px;
      transform: rotateY(180deg);
    }
    .cars-f {
      // margin-top: 20px;
      h4 {
        font-size: 18px;
      }
      .cars-KM {
        margin-top: 5px;
        b {
          opacity: 0.5;
          font-weight: 400;
        }
        strong {
          margin: 0 3px 0 3px;
        }
      }
    }
    .cars-ele {
      padding-top: 10px;
      li {
        display: inline-block;
        width: 7px;
        height: 24px;
        margin-right: 4px;
        background-color: #e1e1e1;
        border-radius: 100px;
      }
      @for $i from 1 through 10 {
        &.active-li-#{$i} {
          li:nth-child(-n + #{$i}) {
            @include webkitA(background, linear-gradient(#17a8fa, #108dd9));
          }
        }
      }
      // li.active {
      //   @include webkitA(background, linear-gradient(#17a8fa, #108dd9));
      // }
      // &.active-li-1 {
      //   li:nth-child(1) {
      //     @include webkitA(background, linear-gradient(#17a8fa, #108dd9));
      //   }
      // }
    }
  }
  .cars-stop {
    opacity: 0.4;
    margin-top: 10px;
    a {
      float: left;
      color: rgb(22, 21, 21);
    }
    i {
      float: right;
    }
  }
}
.cars-detailed {
  position: absolute;
  // display: none;
  left: 0;
  right: 0;
  bottom: 0;
  .cars-stop {
    margin-bottom: 20px;
    display: flex;
    opacity: 0.4;
    justify-content: space-between;
    border-bottom: 1px solid #e1e1e1;
    padding: 0 0 15px;

    i {
      float: right;
      font-size: 14px;
      cursor: pointer;
    }
  }
  .cars-content {
    height: 100px;
    width: 100px;
    border-bottom: none;
    margin-left: 15%;
  }
  .ele-box {
    margin-top: 10px;
    padding: 10px;
    border-radius: 100px;
    background-color: #fff;
    @include webkit(box-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
    .el-bg {
      display: block;
      background-color: #e1e1e1;
      border-radius: 100px;
      height: 5px;
    }
    .el-high {
      position: absolute;
      left: 0;
      top: 0;
      background-color: $color-cars;
      height: 100%;
      border-radius: 100px;
    }
  }
  .cars-word {
    p {
      padding: 14px;
      font-size: 12px;
      text-align: center;
      color: #838080;
    }
  }
  .cars-list {
    li {
      font-size: 13px;
      cursor: pointer;
      background-color: #f3f3f3;
      border-radius: 10px;
      border-style: solid;
      border-width: 1px;
      margin-bottom: 14px;
      border-color: #f3f3f3;
      height: 35px;
      width: 100%;
      vertical-align: middle;
      line-height: 35px;
      &.current {
        border-color: $color-cars;
      }
      h4 {
        margin-left: 12px;
      }
      span {
        margin-right: 12px;
      }
    }
  }
  .select-bar {
    display: block;
    width: 200px;
    height: 64px;
    margin: 0 17px;
    border-radius: 100px;
    line-height: 64px;
    text-align: center;
    color: #fff;
    font-size: 26px;
    font-size: 300;
    background-color: $color-main;
  }
  .select-car {
    position: absolute;
    bottom: -32px;
    left: 50%;
    margin-left: -100px;
  }
}
